<!-- TODO 已经废弃 -->
<!-- 自定义参数备注 -->
	<div id="paramRemark" class="input-group w">
		<textarea class="form-control no-resize" ng-model="model.paramRemark" readonly rows="5"></textarea>
		<div class="input-group-addon cursor btn-main"
				ng-click="editerParam('eparamRemark','paramRemark',model,'eparamRemarkTable');">
				编辑
		</div>
	</div>
	<div id="eparamRemark" class="none">
		<table class="table table-hover table-bordered" id="eparamRemarkTable">
		<thead>
			<tr class="btn-main">
				<th class="w50"></th>
				<th>名称</th>
				<th class="w100">类型</th>
				<th class="w100">是否必须</th>
				<th class="w200">备注</th>
				<th class="w50">操作</th>
			</tr>
		</thead>
		<tr ng-repeat="item in model.paramRemarks track by $index">
			<td style="color: red;" class="p5">{{item.deep}} <input
				type="hidden" name="deep" value="{{item.deep}}" ng-model="item.deep">
			</td>
			<td class="p5"><input class="form-control b0 no-b-s"
				style="padding-left: {{item.deep*10+ 'px'}}" type="text" name="name"
				ng-model="item.name" value="{{item.name}}" placeholder="参数名：必填">
			</td>
			<td class="w120 p5"><select name="type"
				class="form-control b0 no-b-s" ng-model="item.type">
					<option value="string" ng-selected="item.type=='string'">string</option>
					<option value="number" ng-selected="item.type=='number'">number</option>
					<option value="boolean" ng-selected="item.type=='boolean'">boolean</option>
					<option value="object" ng-selected="item.type=='object'">object</option>
					<option value="array" ng-selected="item.type=='array'">array</option>
					<option value="array[number]"
						ng-selected="item.type=='array[number]'">array[number]</option>
					<option value="array[boolean]"
						ng-selected="item.type=='array[boolean]'">array[boolean]</option>
					<option value="array[string]"
						ng-selected="item.type=='array[string]'">array[string]</option>
					<option value="array[object]"
						ng-selected="item.type=='array[object]'">array[object]</option>
					<option value="file" ng-selected="item.type=='file'">file</option>
			</select></td>
			<td class="p5"><select name="necessary"
				class="form-control b0 no-b-s" ng-model="item.necessary">
					<option value="true" ng-selected="item.necessary=='true'">true</option>
					<option value="false" ng-selected="item.necessary=='false'">false</option>
			</select></td>
			<td class="p5"><input class="form-control b0 no-b-s" type="text"
				name="remark" ng-model="item.remark" value="{{item.remark}}"
				placeholder="备注"></td>
			<td class="cursor text-danger p5"><i class="iconfont"
				ng-click="deleteOneParamByParent('paramRemarks',$index,item.deep)">&#xe69d;</i> <i
				class="iconfont"
				ng-click="addOneParamByParent('paramRemarks',item.deep,$index)"
				ng-if="item.type=='object' || item.type=='array[object]' || item.type=='array' ">&#xe604;</i>
			</td>
		</tr>
	</table>
	<button type="button"
		ng-click="modifyParam('eparamRemark','paramRemark',model,'paramRemark')"
		class="btn btn-warning fr ml10">提交修改</button>
	<button type="button" ng-click="addOneParamByParent('paramRemarks')"
		class="btn btn-success fr ml10">添加</button>
	<button type="button"
		onclick="changeDisplay('paramRemark','eparamRemark')"
		class="btn btn-primary fr">返回</button>
	</div>

